#HDL_LIB comes from the top makefile
#LIB_F gets added to by each lib 
#everything else is local
VGACONTROLLER_LIB := vgaController
VGACONTROLLER_FILES :=							\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/vga25clk.vhd			\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/vga40clk.vhd			\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/vga_selector.vhd		\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/vga_controller_800_60.vhd	\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/vga_controller_640_60.vhd	\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/charMap.vhd             	\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/vgaLineDisplay.vhd       	\
	$(HDL_LIB)/$(VGACONTROLLER_LIB)/vgaTiming.vhd

LIB_F += $(VGACONTROLLER_LIB).tmpprj

$(VGACONTROLLER_LIB).tmpprj: $(VGACONTROLLER_FILES)
	for src in $(VGACONTROLLER_FILES); do echo "vhdl" $(VGACONTROLLER_LIB)" \"$$src\"" >> $(VGACONTROLLER_LIB).tmpprj; done

